<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title>用户管理</title>
	<meta charset="utf8">
	<link rel="stylesheet" type="text/css" href="/appstore/Public/bootstrap/css/bootstrap.min.css">
    <script src="/appstore/Public/bootstrap/js/jquery.min.js"></script>
	<script type="text/javascript" src="/appstore/Public/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<h1 align="center">用户管理界面</h1>
<table  width="80%" class="table-striped table-bordered " align="center">
	<tr><th>头像</th><th>用户名</th><th>真实姓名</th><th>邮箱</th><th>电话</th><th>状态</th><th>审核信息</th><th>明星作者</th><th>首页推荐</th><th>操作</th></tr>

<?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr><td ><img src="/appstore/Public/uploads/photo/<?php echo ($vo["photo"]); ?>" width="100px"></td> 
		<td><?php echo ($vo["username"]); ?></td>
		<td><?php echo ($vo["realname"]); ?></td>
		<td><?php echo ($vo["email"]); ?></td>
		<td><?php echo ($vo["tele"]); ?></td>
		<td>
		<?php if($vo["state"] == 0): ?>禁用
		<?php elseif($vo["state"] == 1): ?>普通
		<?php else: ?>禁言<?php endif; ?>
		</td>		<!--0禁用 1普通 2 禁言-->
		<td><?php echo ($vo["verifyinfo"]); ?></td>
		
		<td>
		<?php if($vo["isstar"] == 1): ?>是
		<?php else: ?>否<?php endif; ?>
		</td>
		
		<td>
       <?php if($vo["isfirst"] == 1): ?>是
		<?php else: ?>否<?php endif; ?>
		</td>
		<td>修改<br><a href="del?id=<?php echo ($vo["id"]); ?>">删除</a><br>取消明星<br>取消推荐<br>禁用</td></tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
<div class="pagination row">

	<?php echo ($page); ?>
</div>
</body>
</html>